package com.cd.miniprogramServer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cd.miniprogramServer.dao.entity.UserDO;
import com.cd.miniprogramServer.dto.req.CreateUserReqDTO;
import com.cd.miniprogramServer.dto.req.UpdateUserReqDTO;
import com.cd.miniprogramServer.dto.resp.UserRespDTO;

public interface UserService extends IService<UserDO> {
    
    UserDO getOneUser();
    
    UserRespDTO getOneUserDTO();
    
    Boolean createUser(CreateUserReqDTO reqDTO);
    
    Boolean updateUser(UpdateUserReqDTO reqDTO);
    
    UserRespDTO getUserById(Long id);
    
    Boolean deleteUserById(Long id);
}